<{include file="admin/header.html"}>
<div id="login">
<div class="logo-i">鑫瑞后台管理系统</div>
<form id="frm" action="" method="POST">
<table cellspacing="10" cellpadding="3">
<tr><td class="tit">用户名：</td><td><input type="text" name="username" id="username" class="textclass"></td></tr>
<tr><td class="tit">密码：</td><td><input type="password" name="userpass" id="userpass" class="textclass"></td></tr>
<tr><td colspan="2" align="center"><input type="submit" class="btn" value="登 录"></td></tr>
</table>
<input type="hidden" name="act" value="submit">
</form>
</div>

<script type="text/javascript">
$(document).ready(function(){
	$('#frm').validate({
		rules: {
			username: {
				required: true,
				minlength: 3
			},
			userpass: {
				required: true,
				minlength: 6
			}
		},
		messages: {
			username: {
				required: '请输入用户名',
				minlength: '至少3个字符'
			},
			userpass: {
				required: '请输入密码',
				minlength: '至少6个字符'
			}
											
		},
		
		submitHandler:function(form) {
			form.submit();
		}
		
	});
});
</script>
	
<{include file="admin/footer.html"}>